package com.jinyu.jyly.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.jinyu.jyly.R;
import com.jinyu.jyly.bean.CommunityListInfo;

import java.util.List;


/**
 * 我的社区
 */
public class CommunityListAdapter extends BaseQuickAdapter<CommunityListInfo, BaseViewHolder> {

    public CommunityListAdapter(int layoutResId, List<CommunityListInfo> data) {
        super(layoutResId,data);

    }

    @Override
    protected void convert(BaseViewHolder helper, CommunityListInfo item) {
        helper.setText(R.id.tv_amount,item.getMobile());
        helper.setText(R.id.tv_leval,item.getNick_name());
        helper.setText(R.id.tv_hec,""+item.getPdb());

    }

}


